﻿<!DOCTYPE>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>任务单管理</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <style>
        .easyui-linkbutton{margin-left:20px;}
        table tr td{padding:0px 5px}
        .material{  background-color: #e6e6e6;
                    padding: 3px 10px;
                    margin: 10px 5px;
                    border-radius: 5px;
                    }
    </style>
</head>
<body>
    <div class="panelSection">    
        <div class="easyui-panel " title="查询区域" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
           <form id="searchForm" method="post">
	    	<table>
	    		<tr  class="divLabel">
	    			<td>任务单号:</td>
                    <td>发动机号:</td>
                    <td>订单号:</td>
                    <!--<td>任务单类型:</td>-->
                    <td>任务单状态:</td>
                    <td>大小件目录:</td>
	    		</tr>
	    		<tr >
	    			<td><input class="easyui-textbox" type="text" name="TaskBill" style="width: 120px; height: 22px"/></td>
	    			<td><input class="easyui-textbox" type="text" name="Machine" style="width: 120px; height: 22px"/></td>
                    <td><input class="easyui-textbox" type="text" name="MfgOrdername" style="width: 120px; height: 22px"/></td>
	    			<!--<td><input id="OrderType" name="WorkFlowType" style="width: 120px; height: 22px"/></td>-->
                    <td><input id="Status" name="Status" style="width: 120px; height: 22px"/></td>
                    <td><input id="BigSmall" name="HasBom" style="width: 120px; height: 22px"/></td>
                    <td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.searchData()">查询</a></td>
	    			<td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.searchReset()">重置</a></td>
	    		</tr>
	    	</table>
	    </form>
        </div> 
    </div>
   <!-- ------------内容显示区域------------------>
    <div class="panelSection" style="width:85%;float:left">    
        <div class="easyui-panel " title="任务单信息" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
        <table id="gdContainerInfo" style="width: 100%; height: 330px" data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false,pageNumber:1,pageSize:5,pageList:[5,10,20]"></table>
        <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                    buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]  
                ">
          </div>
        </div>
      </div>

    <div class="panelSection" style="width:14.5%;float:right">    
        <div class="easyui-panel BigSmallTable" title="工序信息" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <table id="SpecTable" style="height: 330px" data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false"></table>
        </div>
     </div>
     <div style="clear: both"></div> 
    <div class="panelSection">    
        <div class="easyui-panel BigSmallTable" title="物料信息" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="width:49%;float:left;">
            <div style="margin:5px 0"><span class="material">大件</span></div>
            <table id="BigTable" style="height: 350px;width:100%" data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false"></table>
        </div> 
            <div style="width:49%;float:right;">
            <div style="margin:5px 0"><span class="material">小件</span></div>
            <table id="SmallTable" style="height: 350px;width:100%" data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false"></table>
        </div>
     </div>
   </div>

    <div class="panelSection">    
        <div class="easyui-panel " title="按钮区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.CreateTaskOrder()" style="margin: 10px 0 10px 20px;">生成任务单</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.IssueERPMaterialPopupForm()" style="margin: 10px 0 10px 20px;">调整</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.IssueMaterialAdjustPopupForm()" style="margin: 10px 0 10px 20px;">任务单调整</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.PrintData('big',1)" style="margin: 10px 0 10px 20px;">打印批次卡</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.PrintData('small',2)" style="margin: 10px 0 10px 20px;">打印小件目录</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.PrintData('all',0)" style="margin: 10px 0 10px 20px;">打印整台</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.PrintData('allbig',1)" style="margin: 10px 0 10px 20px;">打印整台批次卡</a>
            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="page.PrintData('allsmall',2)" style="margin: 10px 0 10px 20px;">打印整台小零件</a>
        </div>
      </div>
     <!--信息提示区域-->
     <div id="statusMessage" style="font-size: 14px; height: 40px"></div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/ZSTaskOrderManagement.js" type="text/javascript"></script>
